﻿<ResourceDictionary 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

  <RadialGradientBrush x:Key="op_mask">
    <GradientStop Color="Black" Offset="0.8"/>
    <GradientStop Offset="1"/>
  </RadialGradientBrush>

  <DrawingBrush x:Key="Flag_of_Germany.icon" Stretch="Uniform" >
    <DrawingBrush.Drawing>
      <DrawingGroup OpacityMask="{StaticResource op_mask}">
        <GeometryDrawing>
          <GeometryDrawing.Brush>
            <DrawingBrush>
              <DrawingBrush.Drawing>
                <DrawingGroup>
                  <GeometryDrawing Brush="#FFFFE600" Geometry="M0,425.197L1062.992,425.197 1062.992,637.795 0,637.795z"/>
                  <GeometryDrawing Brush="Black" Geometry="M0,0L1062.992,0 1062.992,212.598 0,212.598z"/>
                  <GeometryDrawing Brush="Red" Geometry="M0,212.598L1062.992,212.598 1062.992,425.197 0,425.197z"/>
                </DrawingGroup>
              </DrawingBrush.Drawing>
            </DrawingBrush>
          </GeometryDrawing.Brush>
          <GeometryDrawing.Geometry>
            <EllipseGeometry Center="9,9" RadiusY="9" RadiusX="9"/>
          </GeometryDrawing.Geometry>
        </GeometryDrawing>
      </DrawingGroup>
    </DrawingBrush.Drawing>
  </DrawingBrush>

  <DrawingBrush x:Key="Flag_of_Britain.icon" Stretch="Uniform">
    <DrawingBrush.Drawing>
      <DrawingGroup OpacityMask="{StaticResource op_mask}">
        <GeometryDrawing>
          <GeometryDrawing.Brush>
            <DrawingBrush>
              <DrawingBrush.Drawing>
                <DrawingGroup>
                  <DrawingGroup.ClipGeometry>
                    <RectangleGeometry Rect="0,0,120,60"/>
                  </DrawingGroup.ClipGeometry>
                  <GeometryDrawing Brush="#FF00247D">
                    <GeometryDrawing.Geometry>
                      <RectangleGeometry Rect="0,0,120,60"/>
                    </GeometryDrawing.Geometry>
                  </GeometryDrawing>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,-2,-2"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M4,4L120,60">
                      <GeometryDrawing.Pen>
                        <Pen Brush="White" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="8"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,-2,-2"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M120,4L4,60">
                      <GeometryDrawing.Pen>
                        <Pen Brush="White" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="8"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,-2,-2"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M1,1L123,63">
                      <GeometryDrawing.Pen>
                        <Pen Brush="#FFCF142B" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="2"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,-2,-2"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M123,1L1,63">
                      <GeometryDrawing.Pen>
                        <Pen Brush="#FFCF142B" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="2"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,0,23"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M7,7L113,7">
                      <GeometryDrawing.Pen>
                        <Pen Brush="White" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="14"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,53,0"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M7,7L7,53">
                      <GeometryDrawing.Pen>
                        <Pen Brush="White" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="14"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,0,26"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M4,4L116,4">
                      <GeometryDrawing.Pen>
                        <Pen Brush="#FFCF142B" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="8"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,56,0"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Geometry="M4,4L4,56">
                      <GeometryDrawing.Pen>
                        <Pen Brush="#FFCF142B" DashCap="Flat" EndLineCap="Square" LineJoin="Miter" MiterLimit="10" StartLineCap="Square" Thickness="8"/>
                      </GeometryDrawing.Pen>
                    </GeometryDrawing>
                  </DrawingGroup>
                </DrawingGroup>
              </DrawingBrush.Drawing>
            </DrawingBrush>
          </GeometryDrawing.Brush>
          <GeometryDrawing.Geometry>
            <EllipseGeometry Center="30,30" RadiusY="30" RadiusX="30"/>
          </GeometryDrawing.Geometry>
        </GeometryDrawing>
      </DrawingGroup>
    </DrawingBrush.Drawing>
  </DrawingBrush>

  <DrawingBrush x:Key="Flag_of_Romanian.icon" Stretch="Uniform">
    <DrawingBrush.Drawing>
      <DrawingGroup OpacityMask="{StaticResource op_mask}">
        <GeometryDrawing>
          <GeometryDrawing.Brush>
            <DrawingBrush>
              <DrawingBrush.Drawing>
                <DrawingGroup>
                  <GeometryDrawing Brush="#FF002B7F">
                    <GeometryDrawing.Geometry>
                      <RectangleGeometry Rect="0,0,40,60"/>
                    </GeometryDrawing.Geometry>
                  </GeometryDrawing>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,40,0"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Brush="#FFFCD116">
                      <GeometryDrawing.Geometry>
                        <RectangleGeometry Rect="0,0,40,60"/>
                      </GeometryDrawing.Geometry>
                    </GeometryDrawing>
                  </DrawingGroup>
                  <DrawingGroup>
                    <DrawingGroup.Transform>
                      <MatrixTransform Matrix="1,0,0,1,80,0"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Brush="#FFCE1126">
                      <GeometryDrawing.Geometry>
                        <RectangleGeometry Rect="0,0,40,60"/>
                      </GeometryDrawing.Geometry>
                    </GeometryDrawing>
                  </DrawingGroup>
                </DrawingGroup>
              </DrawingBrush.Drawing>
            </DrawingBrush>
          </GeometryDrawing.Brush>
          <GeometryDrawing.Geometry>
            <EllipseGeometry Center="30,30" RadiusY="30" RadiusX="30"/>
          </GeometryDrawing.Geometry>
        </GeometryDrawing>
      </DrawingGroup>
    </DrawingBrush.Drawing>
  </DrawingBrush>

  <DrawingBrush x:Key="Flag_of_Hungary.icon" Stretch="Uniform">
    <DrawingBrush.Drawing>
      <DrawingGroup OpacityMask="{StaticResource op_mask}">
        <GeometryDrawing>
          <GeometryDrawing.Brush>
            <DrawingBrush>
              <DrawingBrush.Drawing>
                <DrawingGroup>
                  <GeometryDrawing Brush="Red" Geometry="M0,0L1062.992,0 1062.992,212.598 0,212.598z"/>
                  <GeometryDrawing Brush="White" Geometry="M0,212.598L1062.992,212.598 1062.992,425.197 0,425.197z"/>
                  <GeometryDrawing Brush="Green" Geometry="M0,425.197L1062.992,425.197 1062.992,637.795 0,637.795z"/>
                </DrawingGroup>
              </DrawingBrush.Drawing>
            </DrawingBrush>
          </GeometryDrawing.Brush>
          <GeometryDrawing.Geometry>
            <EllipseGeometry Center="9,9" RadiusY="9" RadiusX="9"/>
          </GeometryDrawing.Geometry>
        </GeometryDrawing>
      </DrawingGroup>
    </DrawingBrush.Drawing>
  </DrawingBrush>

</ResourceDictionary>